package com.javaspeak.concurrency.pattern.application;

import com.javaspeak.concurrency.pattern.actor.Asynchronous;
import com.javaspeak.concurrency.pattern.actor.Blocking;

/**
 * @author John Dickerson
 */
public interface StartActor {

    @Asynchronous
    public void sendTrade( Trade trade );

    @Asynchronous
    public void addTradeConfirmation( TradeConfirmation tradeConfirmation );

    @Blocking
    public TradeConfirmation getTradeConfirmation();
}
